package org.jeecg.modules.demo.ch.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.modules.demo.ch.entity.ChRawMaterialCodeComparison;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Description: 物料编码原材料类表
 * @Author: jeecg-boot
 * @Date:   2022-09-16
 * @Version: V1.0
 */
@Data
@ApiModel(value="ch_material_code_raw_materialPage对象", description="物料编码原材料类表")
public class ChMaterialCodeRawMaterialPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**料件编码*/
	@Excel(name = "料件编码", width = 15)
	@ApiModelProperty(value = "料件编码")
    private String itemCode;
	/**料件名称*/
	@Excel(name = "料件名称", width = 15)
	@ApiModelProperty(value = "料件名称")
    private String itemName;
	/**软硬料*/
	@Excel(name = "软硬料", width = 15)
	@ApiModelProperty(value = "软硬料")
    private String softAndHardMaterials;
	/**前两个数公差*/
	@Excel(name = "前两个数公差", width = 15)
	@ApiModelProperty(value = "前两个数公差")
    private String firstTwoNumTolerance;
	/**第三个数公差*/
	@Excel(name = "第三个数公差", width = 15)
	@ApiModelProperty(value = "第三个数公差")
    private String thirdNumTolerance;
	/**精毛料*/
	@Excel(name = "精毛料", width = 15)
	@ApiModelProperty(value = "精毛料")
    private String fineWool;
	/**单位*/
	@Excel(name = "单位", width = 15)
	@ApiModelProperty(value = "单位")
	private String unit;

	/**密度(kg/m^3)*/
	@Excel(name = "密度(kg/m^3)", width = 15)
	@ApiModelProperty(value = "密度(kg/m^3)")
	private String density;

	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;

	@ExcelCollection(name="原材料代码对照表")
	@ApiModelProperty(value = "原材料代码对照表")
	private List<ChRawMaterialCodeComparison> chRawMaterialCodeComparisonList;

}
